package com.zzyl.common.annotation;

import java.lang.annotation.*;

/**
 * @author L9629
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RedisCacheAnnotation {

    final static String KEY = "Nursing:NursingLevel:all";
    String value() default "";
    String key() default  KEY;

    /**
     * 前缀
     * @return
     */
    String keyPrefix() default "";
}
